package com.bckj.fastboot.core.extra.retry;

import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.context.annotation.Bean;

@AutoConfiguration
public class FastRetryConfiguration {

    @Bean
    @ConditionalOnBean(RetryProducer.class)
    public FastRetryableAspect fastRetryableAspect() {
        return new FastRetryableAspect();
    }
}
